<!--
 * @Author: ChenCaoYang
 * @Date: 2021-05-29 21:10:08
 * @LastEditors: ChenCaoYang
 * @LastEditTime: 2021-05-30 12:04:55
-->
<!--
 * @Author: ChenCaoYang
 * @Date: 2021-05-28 22:37:44
 * @LastEditors: ChenCaoYang
 * @LastEditTime: 2021-05-29 21:09:24
 物流管理
-->
<template>
  <div class="container">
    <h3>退款详情</h3>
    <el-divider></el-divider>
    <!-- 编辑内容 -->
    <div class="content">
      <h4>请等待商家处理</h4>
      <div class="time">还剩23时56分44秒</div>
      <div class="steps">
        <div>
          <div class="item">
            <div class="pre selectd"></div>
            <span>提交申请</span>
          </div>
          <div class="line lineSelected"></div>
          <div class="item">
            <div class="pre selectd"></div>
            <span>商家处理</span>
          </div>
          <div class="line"></div>
          <div class="item">
            <div class="pre"></div>
            <span>退款成功</span>
          </div>
        </div>
      </div>
      <el-divider></el-divider>
      <div class="text">
        <h4>您已成功发起退款申请，请耐心等待商家处理</h4>
        <div class="tips">
          <p>商家同意或者超时未处理，系统将退款给您</p>
          <p>如果商家拒绝，您可以修改退款申请后再次发起，商家会重</p>
          <p>新处理</p>
        </div>
        <h4>退款信息</h4>
      </div>
      <div class="product_info">
        <div class="img_box">
          <img src="@/assets/imgs/orgin.jpg" alt="" />
        </div>
        <div class="product_dec">
          <strong>新鲜现采沙田柚美味多汁酸甜可口农场直达</strong>
          <p>川味香肠458gx1(自然风干)</p>
        </div>
      </div>
      <div class="return_info">
        <label>退款原因</label>
        <span class="look">我不想要了</span>
      </div>
      <div class="return_money">
        <label>退款金额</label>
        <span class="look">¥1000</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'refundDetails', //退款详情
  data() {
    return {}
  },
  mounted() {},
  methods: {},
}
</script>

<style scoped lang="less">
.container {
  width: 1200px;
  padding-top: 40px;
  margin: auto;
  .content {
    padding: 0 22px;
    h4 {
      margin-bottom: 19px;
    }
    .time {
      font-weight: 400;
      color: #666666;
    }
    .steps {
      height: 125px;
      display: flex;
      align-items: center;
      justify-content: center;
      & > div {
        display: flex;
        align-items: center;
        .item {
          height: 100px;
          width: 100px;
          .pre {
            width: 12px;
            height: 12px;
            background: #999999;
            border-radius: 6px;
            margin: 0 auto;
            margin-top: 43px;
            margin-bottom: 19px;
          }
          .selectd {
            background: #cf975a;
          }
          .selected::after {
            background-color: #cf975a;
          }
          .selected::before {
            background-color: #cf975a;
          }
          span {
            font-weight: 400;
            font-size: 16px;
            font-weight: 400;
            color: #666666;
            display: block;
            text-align: center;
          }
        }
        .line {
          margin: 0 5px;
          width: 200px;
          height: 1px;
          background-color: #999999;
          position: relative;
        }
        .line::after {
          content: '';
          position: absolute;
          width: 50px;
          background-color: #999999;
          height: 1px;
          left: -40px;
        }
        .line::before {
          content: '';
          position: absolute;
          width: 50px;
          background-color: #999999;
          height: 1px;
          right: -40px;
        }
        .lineSelected {
          background-color: #cf975a;
        }
        .lineSelected::before {
          background-color: #cf975a;
        }
        .lineSelected::after {
          background-color: #cf975a;
        }
      }
    }
    .text {
      .tips {
        font-size: 16px;
        font-weight: 400;
        color: #666666;
        line-height: 30px;
        margin-bottom: 25px;
      }
    }
    .product_info {
      display: flex;
      align-items: center;
      margin-bottom: 40px;
      .img_box {
        width: 100px;
        height: 100px;
        margin-right: 24px;
        img {
          width: 100%;
          height: 100%;
          border-radius: 5px;
        }
      }
      .product_dec {
        font-size: 14px;
        font-weight: 400;
        color: #666666;
        line-height: 30px;
      }
    }
    .return_info {
      margin-bottom: 32px;
      .look {
        font-size: 16px;
        font-weight: 400;
        color: #333333;
      }
    }
    .return_money {
      .look {
        font-size: 18px;
        font-weight: 400;
        color: #ff9933;
      }
    }
    .look {
      margin-left: 60px;
    }
  }
}
</style>
